package com.nf.teamwork.mall.service.impl;

import com.nf.teamwork.mall.dao.ProductCommentDao;
import com.nf.teamwork.mall.entity.ProductComment;
import com.nf.teamwork.mall.service.ProductCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LJP
 * @Classname ProductCommentServiceImpl
 * @Date: 2020-02-27 19:11
 * @Description: 商品评论表service层
 */
@Service
public class ProductCommentServiceImpl implements ProductCommentService {
    @Autowired
    private ProductCommentDao productCommentDao;
    @Override
    public List<ProductComment> findAll() {
        return productCommentDao.findAll();
    }
}
